package com.ting.etp.host.autoconfig;

import com.ting.etp.host.loader.EtpPluginLoader;
import com.ting.etp.host.spring.EtpSpringPluginRegistrar;
import com.ting.etp.host.manager.EtpPluginManager;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.stereotype.Controller;

import javax.annotation.PostConstruct;
import java.net.URLClassLoader;

@Configuration
@ConditionalOnClass(EtpPluginLoader.class)
@Slf4j
@ConditionalOnProperty(prefix = "etp.plugin", name = "enabled", havingValue = "true", matchIfMissing = true)
public class EtpPluginAutoConfiguration {


} 